package com.atguigu.gmall.item.vo;


import com.atguigu.gmall.pms.entity.BrandEntity;
import com.atguigu.gmall.pms.entity.CategoryEntity;
import com.atguigu.gmall.pms.entity.SkuImagesEntity;
import com.atguigu.gmall.pms.entity.SkuSaleAttrValueEntity;
import com.atguigu.gmall.pms.vo.ItemGroupVO;
import com.atguigu.gmall.sms.vo.ItemSkuSaleVO;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ItemVO {

    private Long skuId;
    private CategoryEntity categoryEntity;
    private BrandEntity brandEntity;
    private Long spuId;
    private String spuName;

    private String skuTitle;//标题
    private String subTitle;//副标题
    private BigDecimal price;//价格
    private BigDecimal weight;//重量

    private List<SkuImagesEntity> pics;//sku的图片列表

    //营销信息
    private List<ItemSkuSaleVO> sales;

    //是否有货
    private Boolean store;

    private List<SkuSaleAttrValueEntity> saleAttrValueEntityList;//销售属性

    private List<String> images;//spu的海报图片

    private List<ItemGroupVO> groups;//规格参数及组下的规格参数（带值）
}
